package com.chengyu.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商户场景分成规则表
 * </p>
 *
 * @author ${author}
 * @since 2023-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lowcar_merchant_share_rule")
@ApiModel(value="LowcarMerchantShareRule对象", description="商户场景分成规则表")
public class MerchantShareRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "商户ID{关联：lowcar_merchant.id}")
    private Long merchantId;

    @ApiModelProperty(value = "场景ID{关联：tbl_points_scene.id}")
    private Integer sceneId;

    @ApiModelProperty(value = "场景Code{关联：tbl_points_scene.scene_code}")
    private String sceneCode;

    @ApiModelProperty(value = "分成比例")
    private Integer shareRatio;

    @ApiModelProperty(value = "不领取是否分成 {0、否 1、是}")
    private Integer noNeedReceive;

    @ApiModelProperty(value = "状态{0、禁用 1、启用}")
    private Integer state;

    @ApiModelProperty(value = "删除标记{0、否 1、是}")
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
